#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <stdlib.h>
int main()
{
	char* str1 = "     123";
	char* str2 = "  12  3";
	char* str3 = "    123";
	char* str4 = "  1a2 3";
	int ret1 = atoi(str1);
	int ret2 = atoi(str2);
	int ret3 = atoi(str3);
	int ret4 = atoi(str4);
	printf("%d\n", ret1);
	printf("%d\n", ret2);
	printf("%d\n", ret3);
	printf("%d\n", ret4);
	return 0;
}